<template>
  <div class="goods-all">
    <ul class="goods-left">
      <li>热销榜</li>
      <li class="active">单人特色套餐</li>
      <li>单人特色套餐</li>
      <li>单人特色套餐</li>
      <li>单人特色套餐</li>
      <li>单人特色套餐</li>
      <li>单人特色套餐</li>
      <li>单人特色套餐</li>
      <li>单人特色套餐</li>
      <li>单人特色套餐</li>
      <li>单人特色套餐</li>
      <li>单人特色套餐</li>
      <li>单人特色套餐</li>
      <li>单人特色套餐</li>
      <li>单人特色套餐</li>
    </ul>
    <div class="goods-right">
      <div class="item">
        <span class="tit">单人特色套餐</span>
        <div class="item-goods">
          <img src="../../assets/imgs/logo.webp" alt="" />
          <div>
            <h4>源码皮蛋瘦肉包子饺子水煮面</h4>
            <span class="sepc">咸粥</span>
            <div class="sell-info">
              <span>月售1132份</span>
              <span>好评率100%</span>
            </div>
            <div>
              <span class="new-price">¥24</span>
              <span class="old-price">¥28</span>
            </div>
          </div>
          <div></div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {}
</script>

<style lang="less" scoped>
.goods-all {
  height: 100%;
  display: flex;
  .goods-left {
    flex: 1 1 0;
    background-color: rgb(244, 245, 247);
    li {
      display: flex;
      align-items: center;
      padding: 10px;
      height: 50px;
      border-bottom: 1px solid rgb(255, 255, 255);
    }
  }
  .goods-right {
    background-color: rgb(244, 245, 247);
    flex: 4 4 0;
  }
}
.item {
  font-size: 14px;
  color: rgb(244, 245, 247);

  display: flex;
  flex-direction: column;
  .tit {
    color: #000;
    padding-left: 15px;
    height: 25px;
    align-items: center;
    display: flex;
    border-left: 3px solid darkslategray;
  }
}
.item-goods {
  background-color: #fff;
  color: #000;
  padding: 15px;
  display: flex;
  img {
    margin-right: 10px;
    width: 60px;
    height: 60px;
  }
}
.active {
  background-color: #fff;
}
.old-price {
  margin-left: 20px;
  color: #ccc;
  font-size: 12px;
  text-decoration: line-through;
}
.new-price {
  font-size: 16px;
  color: crimson;
}
.sell-info {
  color: #ccc;
  font-size: 12px;
}
.sepc {
  color: #ccc;
  font-size: 12px;
}
</style>
